<template>
  <el-icon :size="20">
    <document v-if="type === 'text'" />
    <picture-rounded v-else-if="type === 'image'" />
    <folder v-else />
  </el-icon>
</template>

<script lang="ts" setup>
import { Document, PictureRounded, Folder } from '@element-plus/icons-vue'

defineProps<{
  type: string
}>()
</script> 